package com.huang.entity;

/**
* 
*
* @author: chenwei
* @version: 1.0
* @datetime: 2018-06-09 11:48:18
*/
public class Resources {

    // 资源id
    private Long resourcesId;
    // 资源名称
    private String resourcesName;
    // 文件名称
    private String fileName;
    // 是否目录
    private Integer isDirectory;
    // 文件路径
    private String path;
    // 内容
    private String source;
    // 大小
    private Long size;
    // 创建用户
    private Long createor;
    // 修改用户
    private Long modifyBy;
    // 创建时间
    private Long createTime;
    // 最后修改时间
    private Long lastModifiedDate;
    // 站点id
    private Long siteId;
    // 父级id
    private Long parentId;
    // 标识
    private Integer delTag;
    // 状态
    private Integer status;
    //资源文件别名
    private String resourcesAlias;

    public String getResourcesName() {
    return resourcesName;
    }

    public void setResourcesName(String resourcesName) {
    this.resourcesName = resourcesName;
    }

    public String getFileName() {
    return fileName;
    }

    public void setFileName(String fileName) {
    this.fileName = fileName;
    }

    public Integer getIsDirectory() {
    return isDirectory;
    }

    public void setIsDirectory(Integer isDirectory) {
    this.isDirectory = isDirectory;
    }

    public String getPath() {
    return path;
    }

    public void setPath(String path) {
    this.path = path;
    }

    public String getSource() {
    return source;
    }

    public void setSource(String source) {
    this.source = source;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Long getCreateor() {
    return createor;
    }

    public void setCreateor(Long createor) {
    this.createor = createor;
    }

    public Long getModifyBy() {
    return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
    this.modifyBy = modifyBy;
    }

    public Long getCreateTime() {
    return createTime;
    }

    public void setCreateTime(Long createTime) {
    this.createTime = createTime;
    }

    public Long getLastModifiedDate() {
    return lastModifiedDate;
    }

    public void setLastModifiedDate(Long lastModifiedDate) {
    this.lastModifiedDate = lastModifiedDate;
    }

    public Long getSiteId() {
    return siteId;
    }

    public void setSiteId(Long siteId) {
    this.siteId = siteId;
    }

    public Long getParentId() {
    return parentId;
    }

    public void setParentId(Long parentId) {
    this.parentId = parentId;
    }

    public Integer getDelTag() {
    return delTag;
    }

    public void setDelTag(Integer delTag) {
    this.delTag = delTag;
    }

    public Integer getStatus() {
    return status;
    }

    public void setStatus(Integer status) {
    this.status = status;
    }

    public Long getResourcesId() {
    return resourcesId;
    }

    public void setResourcesId(Long resourcesId) {
    this.resourcesId = resourcesId;
    }

    public String getResourcesAlias() {
        return resourcesAlias;
    }

    public void setResourcesAlias(String resourcesAlias) {
        this.resourcesAlias = resourcesAlias;
    }

    @Override
    public String toString() {
        return "Resources{" +
                "resourcesId=" + resourcesId +
                ", resourcesName='" + resourcesName + '\'' +
                ", fileName='" + fileName + '\'' +
                ", isDirectory=" + isDirectory +
                ", path='" + path + '\'' +
                ", source='" + source + '\'' +
                ", size=" + size +
                ", createor=" + createor +
                ", modifyBy=" + modifyBy +
                ", createTime=" + createTime +
                ", lastModifiedDate=" + lastModifiedDate +
                ", siteId=" + siteId +
                ", parentId=" + parentId +
                ", delTag=" + delTag +
                ", status=" + status +
                ", resourcesAlias='" + resourcesAlias + '\'' +
                '}';
    }
}
